From d5aa78056d9da638caf8800597e3292b41a59e24 Mon Sep 17 00:00:00 2001 From: Kelley Nielsen Date: Mon, 11 Nov 2013 02:08:58 -0800 Subject: [PATCH] libxl: use macro CTX in libxl_qmp.c The new coding style uses the convenience macro CTX as declared in libxl_internal.h. Substitute an invocation of this macro for its body at the one place it occurs in libxl_qmp.c. Suggested-by: Anthony PERARD Signed-off-by: Kelley Nielsen Acked-by: Ian Campbell --- tools/libxl/libxl_qmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_qmp.c b/tools/libxl/libxl_qmp.c index 7fa8748433..4af7db63d3 100644 --- a/tools/libxl/libxl_qmp.c +++ b/tools/libxl/libxl_qmp.c @@ -348,7 +348,7 @@ static libxl__qmp_handler *qmp_init_handler(libxl__gc *gc, uint32_t domid) "Failed to allocate qmp_handler"); return NULL; } - qmp->ctx = libxl__gc_owner(gc); + qmp->ctx = CTX; qmp->domid = domid; qmp->timeout = 5; -- 2.30.2